<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<link th:href="@{/statics/css/index.css}" type="text/css" rel="stylesheet">
<script th:src="@{/statics/未压缩版.js}" type="text/javascript"></script>
<script th:src="@{/statics/js/addUser.js}" type="text/javascript"></script>


<link th:href="@{/statics/layui-v2.7.6/layui/css/layui.css}" type="text/css" rel="stylesheet">
<script th:src="@{/statics/layui-v2.7.6/layui/layui.js}" type="text/javascript"></script>
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>
<div th:object="${bill}">
    <form th:action="@{/bill/updateBill}" method="post" class="add">
        <input type="hidden" name="id" th:value="*{id}">
        <div>
            供应商ID：<input type="text" name="providerId" th:value="*{providerId}">
        </div>
        <div>
            账单编码：<input type="text" name="billCode" th:value="*{billCode}">
        </div>
        <div>
            商品名称：<input type="text" name="productName" th:value="*{productName}">
        </div>
        <div>
            商品描述：<input type="text" name="productDesc" th:value="*{productDesc}">
        </div>
        <div>
            是否支付： <select name="isPayment">
            <option th:selected="${bill.isPayment==1}"  value="1">---未付款---</option>
            <option th:selected="${bill.isPayment==2}"  value="2">---已付款---</option>
        </select>
        </div>

        <div>
            <input type="submit" value="保存">
            <input type="button" id="back" value="返回">
        </div>
    </form>

</div>
</body>
</html>